package com.swu.education.repository;

import java.util.List;

import com.swu.education.entity.Chat;
import com.swu.education.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ChatRepository extends JpaRepository<Chat, Integer>{

	public List<Chat> findByChatRoomId(Integer chatRoomId);
}
